package com.kaizeli.website.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 预警级别枚举
 */
@Getter
@AllArgsConstructor
public enum WarningLevel {
    INFO("info", "提示", "#1890ff"),
    WARNING("warning", "警告", "#faad14"),
    CRITICAL("critical", "严重", "#f5222d");

    private final String code;
    private final String name;
    private final String color;
}

